package com.gxa.uhome.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: qingyao
 * @date: 12:31 2021/6/5
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "AdminRole 管理员角色关系表的实体类")
public class AdminRole implements Serializable {
    @ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = false)
    private Integer id;
    @ApiModelProperty(name = "adminId",notes = "管理员id",dataType = "Integer",required = true)
    private Integer adminId;
    @ApiModelProperty(name = "roleId",notes = "角色id",dataType = "Integer",required = true)
    private Integer roleId;
}
